package com.qidianit.mes.pro.service;

import com.qidianit.mes.common.Result;
import com.qidianit.mes.pojo.pro.ProFeedback;
import com.qidianit.mes.vo.ProFeedbackPageVO;

import java.util.List;

/**
 * Package Path: com.qidianit.mes.pro.service
 * Author: Alhz
 * Description:
 * Date: 2025/9/25 16:29
 */
public interface ProFeedbackService {
    /**
     * 分页查询生产报工
     * @param proFeedbackPageVO
     * @return
     */
    Result selectAll(ProFeedbackPageVO proFeedbackPageVO, int page, int pageSize);



    /**
     * 根据id查询报工内容
     * @param recordId
     * @return
     */
    Result selectFeedbackById(Integer recordId);

    /**
     * 添加报工
     * @param proFeedback
     * @return
     */    
    Result insertFeedback(ProFeedback proFeedback);

    /**
     * 更新报工
     * @param proFeedback
     * @return
     */
    Result updateFeedback(ProFeedback proFeedback);

    /**
     * 删除报工
     * @param recordId
     * @return
     */
    Result deleteFeedback(Integer recordId);

    /**
     * 批量删除
     * @param ids
     * @return
     */
    Result batchDeleteFeedback(Long[] ids);

    /**
     *
     * @return
     */
    List<ProFeedback> selectAllFeedback();
}
